Search Introduction
Introduction
Assetic offers several REST API options for searching/retrieving information from Assetic.
These include:
-
Searching via user created search profile (created via the Assetic application)
-
The Assetic OData endpoint which provides a flexible search option using the OData syntax.
-
Direct searching via module specific API's
Comparison between Search API's and OData
The Assetic REST API GET /api/v2/search provides similar capabilities to the OData endpoint, but there are differences.
Function | OData | /api/v2/search | /api/v2/search/geojson |
Filter results by any search field | ✔ | ✔ | ✔ |
Does not require a predefined search to be created via Assetic UI (Allows ad-hoc queries) | ✔ | ||
Limited to 10,000 records in response | ✔ | ✔ | ✔ |
Return geoJson (spatial) data | ✔ | ||
Paginated response (500 records per page max) | ✔ | ✔ | |
Aggregate results at the server minimising result set (group by & sum,count etc) | ✔ | ||
Read-only | ✔ | ✔ | ✔ |
Covers all Assetic modules | ✔ |